<template>
    <div class="settings-page">
      <h2>设置</h2>
      
      <div class="settings-section">
        <h3>账户设置</h3>
        <div class="setting-item">
          <span>修改个人信息</span>
          <i class="fas fa-chevron-right"></i>
        </div>
        <div class="setting-item">
          <span>修改密码</span>
          <i class="fas fa-chevron-right"></i>
        </div>
        <div class="setting-item">
          <span>隐私设置</span>
          <i class="fas fa-chevron-right"></i>
        </div>
      </div>
      
      <div class="settings-section">
        <h3>通知设置</h3>
        <div class="setting-item">
          <span>活动提醒</span>
          <i class="fas fa-toggle-on"></i>
        </div>
        <div class="setting-item">
          <span>消息通知</span>
          <i class="fas fa-toggle-on"></i>
        </div>
      </div>
      
      <div class="settings-section">
        <h3>其他</h3>
        <div class="setting-item">
          <span>关于我们</span>
          <i class="fas fa-chevron-right"></i>
        </div>
        <div class="setting-item">
          <span>帮助中心</span>
          <i class="fas fa-chevron-right"></i>
        </div>
        <div class="setting-item">
          <span>退出登录</span>
          <i class="fas fa-sign-out-alt"></i>
        </div>
      </div>
    </div>
  </template>
  
  <script>
  export default {
    name: 'Settings'
  }
  </script>
  
  <style scoped>
  .settings-page {
    padding: 16px;
    padding-bottom: 80px; /* 为底部导航留出空间 */
  }
  
  h2 {
    margin-bottom: 24px;
    color: #333;
    font-size: 20px;
  }
  
  .settings-section {
    margin-bottom: 24px;
  }
  
  h3 {
    margin-bottom: 12px;
    color: #666;
    font-size: 16px;
  }
  
  .setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }
  
  .setting-item span {
    font-size: 16px;
    color: #333;
  }
  
  .setting-item i {
    color: #999;
  }
  
  i.fa-toggle-on {
    color: #4CAF50;
  }
  </style>
  